<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service" class="form-control" step="0.01" name="row[service]" max="1" type="number" value="{$row.service|htmlentities}" placeholder="0~1之类的小数">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Trade')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-trade" class="form-control" step="0.01" name="row[trade]" max="1" type="number" value="{$row.trade|htmlentities}" placeholder="0~1之类的小数">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Safe')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[safe]', ['1'=>__('找回包赔'),'2'=>__('无服务') ,'3'=>__('心意购')],$row.safe)}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[type]', ['1'=>__('账号'), '2'=>__('金币')],$row.type)}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Method')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_checkboxs('row[method][]', ['1'=>__('平台代发'), '2'=>__('卖家发货')],$row.method)}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('买家是否选择')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[xyg]', ['2'=>__('是'), '1'=>__('否')],$row.xyg)}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
